package com.hbnu.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
public class Dept {

    private static final long serialVersionUID = 1L;

    /**
     * 主键 学院编号
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "DeptID", type = IdType.ASSIGN_ID)
    private String DeptID;

    /**
     * 学院名称
     */
    @ApiModelProperty(value = "学院名称")
    @TableField("deptName")
    private String deptName;

    /**
     * 学院名称排序ID
     */
    @ApiModelProperty(value = "学院名称排序ID")
    @TableField("deptName_id")
    private Integer deptNameId;
}
